package com.example.lenovo.myapplication;

import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

public class StuViewHolder extends RecyclerView.ViewHolder {
    public StuViewHolder(@NonNull View itemView) {
        super(itemView);
        view = itemView;
        headView = itemView.findViewById(R.id.iv_head);
        nameView = itemView.findViewById(R.id.iv_name);
        ageView = itemView.findViewById(R.id.iv_age);

    }
    View view;
    ImageView headView;
    TextView nameView;
    TextView ageView;
}